package com.weiaibenpao.demo.chislim.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by wlx on 2017/12/26.
 */

public class UserSportsInfoBean {


    /**
     * countRealInfo : 0
     * djqSumSportsResult : {"id":64,"userId":404,"finishDistance":5.17,"finishDistanceLimit":5.17,"yudingDistance":1228.3,"totalTime":2240,"areaAddress":"浙江省杭州市","code":"330100","sumSportType":23,"isHistory":"N","createTime":1514442398347,"updateTime":1514442398347,"isDelete":"N"}
     * rankNumber : {"code":"330100","yudingDistance":1228.3,"totalTime":2240,"isDelete":"N","@rownum := 0":0,"finishDistanceLimit":5.17,"updateTime":1514442398347,"userName":"安琪儿","userId":404,"rownum":1,"sumSportType":23,"userImage":"http://ofplk6att.bkt.clouddn.com/Fum1YE0X2ROT_p7ReU5PXmRAk2My","createTime":1514442398347,"areaAddress":"浙江省杭州市","id":64,"isHistory":"N","finishDistance":5.17}
     */

    private int countRealInfo;
    private DjqSumSportsResultBean djqSumSportsResult;
    private RankNumberBean rankNumber;

    public int getCountRealInfo() {
        return countRealInfo;
    }

    public void setCountRealInfo(int countRealInfo) {
        this.countRealInfo = countRealInfo;
    }

    public DjqSumSportsResultBean getDjqSumSportsResult() {
        return djqSumSportsResult;
    }

    public void setDjqSumSportsResult(DjqSumSportsResultBean djqSumSportsResult) {
        this.djqSumSportsResult = djqSumSportsResult;
    }

    public RankNumberBean getRankNumber() {
        return rankNumber;
    }

    public void setRankNumber(RankNumberBean rankNumber) {
        this.rankNumber = rankNumber;
    }

    public static class DjqSumSportsResultBean {
        /**
         * id : 64
         * userId : 404
         * finishDistance : 5.17
         * finishDistanceLimit : 5.17
         * yudingDistance : 1228.3
         * totalTime : 2240
         * areaAddress : 浙江省杭州市
         * code : 330100
         * sumSportType : 23
         * isHistory : N
         * createTime : 1514442398347
         * updateTime : 1514442398347
         * isDelete : N
         */

        private Integer id;
        private int userId;
        private double finishDistance;
        private double finishDistanceLimit;
        private double yudingDistance;
        private int totalTime;
        private String areaAddress;
        private String code;
        private int sumSportType;
        private String isHistory;
        private long createTime;
        private long updateTime;
        private String isDelete;

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public double getFinishDistance() {
            return finishDistance;
        }

        public void setFinishDistance(double finishDistance) {
            this.finishDistance = finishDistance;
        }

        public double getFinishDistanceLimit() {
            return finishDistanceLimit;
        }

        public void setFinishDistanceLimit(double finishDistanceLimit) {
            this.finishDistanceLimit = finishDistanceLimit;
        }

        public double getYudingDistance() {
            return yudingDistance;
        }

        public void setYudingDistance(double yudingDistance) {
            this.yudingDistance = yudingDistance;
        }

        public int getTotalTime() {
            return totalTime;
        }

        public void setTotalTime(int totalTime) {
            this.totalTime = totalTime;
        }

        public String getAreaAddress() {
            return areaAddress;
        }

        public void setAreaAddress(String areaAddress) {
            this.areaAddress = areaAddress;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public int getSumSportType() {
            return sumSportType;
        }

        public void setSumSportType(int sumSportType) {
            this.sumSportType = sumSportType;
        }

        public String getIsHistory() {
            return isHistory;
        }

        public void setIsHistory(String isHistory) {
            this.isHistory = isHistory;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getIsDelete() {
            return isDelete;
        }

        public void setIsDelete(String isDelete) {
            this.isDelete = isDelete;
        }
    }

    public static class RankNumberBean {
        /**
         * code : 330100
         * yudingDistance : 1228.3
         * totalTime : 2240
         * isDelete : N
         * @rownum := 0 : 0
         * finishDistanceLimit : 5.17
         * updateTime : 1514442398347
         * userName : 安琪儿
         * userId : 404
         * rownum : 1
         * sumSportType : 23
         * userImage : http://ofplk6att.bkt.clouddn.com/Fum1YE0X2ROT_p7ReU5PXmRAk2My
         * createTime : 1514442398347
         * areaAddress : 浙江省杭州市
         * id : 64
         * isHistory : N
         * finishDistance : 5.17
         */

        private String code;
        private double yudingDistance;
        private int totalTime;
        private String isDelete;
        @SerializedName("@rownum := 0")
        private int _$Rownum0164; // FIXME check this code
        private double finishDistanceLimit;
        private long updateTime;
        private String userName;
        private int userId;
        private int rownum;
        private int sumSportType;
        private String userImage;
        private long createTime;
        private String areaAddress;
        private int id;
        private String isHistory;
        private double finishDistance;

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public double getYudingDistance() {
            return yudingDistance;
        }

        public void setYudingDistance(double yudingDistance) {
            this.yudingDistance = yudingDistance;
        }

        public int getTotalTime() {
            return totalTime;
        }

        public void setTotalTime(int totalTime) {
            this.totalTime = totalTime;
        }

        public String getIsDelete() {
            return isDelete;
        }

        public void setIsDelete(String isDelete) {
            this.isDelete = isDelete;
        }

        public int get_$Rownum0164() {
            return _$Rownum0164;
        }

        public void set_$Rownum0164(int _$Rownum0164) {
            this._$Rownum0164 = _$Rownum0164;
        }

        public double getFinishDistanceLimit() {
            return finishDistanceLimit;
        }

        public void setFinishDistanceLimit(double finishDistanceLimit) {
            this.finishDistanceLimit = finishDistanceLimit;
        }

        public long getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(long updateTime) {
            this.updateTime = updateTime;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public int getRownum() {
            return rownum;
        }

        public void setRownum(int rownum) {
            this.rownum = rownum;
        }

        public int getSumSportType() {
            return sumSportType;
        }

        public void setSumSportType(int sumSportType) {
            this.sumSportType = sumSportType;
        }

        public String getUserImage() {
            return userImage;
        }

        public void setUserImage(String userImage) {
            this.userImage = userImage;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getAreaAddress() {
            return areaAddress;
        }

        public void setAreaAddress(String areaAddress) {
            this.areaAddress = areaAddress;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getIsHistory() {
            return isHistory;
        }

        public void setIsHistory(String isHistory) {
            this.isHistory = isHistory;
        }

        public double getFinishDistance() {
            return finishDistance;
        }

        public void setFinishDistance(double finishDistance) {
            this.finishDistance = finishDistance;
        }
    }
}
